<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{$Think.config.PAGE_TITLE}</title>
    <link rel="stylesheet" href="__PUBLIC__/admin/css/reset.css" />
    <link rel="stylesheet" href="__PUBLIC__/admin/css/guanlicenter.css" />
    <link rel="stylesheet" href="__PUBLIC__/admin/css/backend.css" />
    <script src="__PUBLIC__/admin/js/jquery.min.js"></script>
    <script language="javascript" src="__PUBLIC__/admin/js/backend.js"></script>
    <script type="text/javascript" src="__PUBLIC__/admin/js/sweet-alert/sweet-alert.min.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/admin/js/sweet-alert/sweet-alert.css" type="text/css" />
    <script language="javascript" src="__PUBLIC__/static/typeahead/jquery.typeahead.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/static/typeahead/jquery.typeahead.css" type="text/css" />
    <script type="text/javascript" src="__PUBLIC__/admin/js/boxy/jquery.boxy.js"></script>
    <script type="text/javascript" src="__PUBLIC__/static/My97DatePicker/WdatePicker.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/admin/js/boxy/front_boxy_v2.css" type="text/css" />
    <link rel="icon" href="/favicon.ico" type="image/x-icon" />
</head>
<body>
    <!-- hearder start  -->
    <div class="header">
        <div class="logo">
            <a href="{:U('Index/index')}"  class="fl">影院运营管理平台</a>
            <span class="guanli-tit">影院运营管理平台</span>
        </div>
        <div class="main_top_menu_list">
            <volist name="user_info[menu_list_level]" id="vo">
            <if condition="1 EQ $vo[is_show]">
                <a href="/Admin{$vo.url}/mmusc/{$vo.menu_id}" class="<if condition="$mmusc EQ $vo[menu_id]">current</if>">{$vo.name}</a>
            </if>
            </volist>
        </div>
        <div class="userBar">
            <ul class="clearfix">
                <li class="pr38">
                    <h3>
                        {$user_info.user_name}，
                        <span class="hello">您好</span>
                    </h3>
                </li>
                <li class="nav-list">
                    <h3>
                        <a href="{:U('Login/logout')}" >退出</a>
                    </h3>
                </li>
                <li class="nav-list">
                    <h3>
                        <a href="{:U('Index/index')}" >返回首页</a>
                    </h3>
                </li>
            </ul>
        </div>
    </div>
    <!-- hearder end  -->
    <!-- 左边栏 start  -->
    <div class="sidebar">
        <volist name="sub_menu_list" id="vo">
        <if condition="(1 EQ $vo[is_show])">
        <h3 onclick="javascript:<if condition='"#" NEQ $vo[url]'>location.href='/Admin{$vo.url}'</if>;">
            <span class="iconfont moive-icon"></span>
            {$vo.name}
        </h3>
            <volist name="vo[sub_list]" id="sub_vo">
                <if condition="(1 EQ $sub_vo[is_show])">
                <ul class="side-sub-menu">
                    <li>
                        <a href="/Admin{$sub_vo.url}/musc/{$sub_vo.menu_id}/mmusc/{$mmusc}" class="left_menu_{$sub_vo.menu_id}" class="borderb-n">{$sub_vo.name}</a>
                    </li>
                </ul>
                </if>
            </volist>
        </if>
        </volist>
    </div>
    <!-- 左边栏 end  -->
    <!-- 右边内容区 start -->
    {__CONTENT__}
    <!-- 右边内容区 end -->
</body>
</html>
<script type="text/javascript" src="__PUBLIC__/admin/js/select.js"></script>
<script>
    //menu cookie
    var musc = '{$musc}';
    
    //自定义下拉框 
    $(".diy_select_list").click(function (event) {
        var val = +$(".diy_select_input").val();
        changefType(val);
    });
    function changefType(val)
    {
        if (val == 1) {
            $("#hidden_1").css("display", "block");
            $("#hidden_2").css("display", "none");
        }
        else {
            $("#hidden_1").css("display", "none");
            $("#hidden_2").css("display", "block");
        }
    }
    
    $(document).ready(function(){
        //高亮选中二级菜单
        highlight_subnav('__ACTION__');
    });
</script>